home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / workbench werkzeuge / icon tools / iconmanager / install < prev    next >
Text File  |  1996-04-07  |  2KB  |  98 lines

  1. ; Install script for IconManager v37.1
  2. ; © 1994 Alex Taylor
  3. ; $VER : 7.2.94
  4.  
  5. (set @default-dest "SYS:WBStartup")
  6.  
  7. (if  (< (/ (getversion) 65536) 37)
  8.   (abort "Sorry, you need Kickstart V37+ to use IconManager.")
  9. )
  10.  
  11. (set destdir
  12.   (askdir
  13.     (help @askdir-help)
  14.     (prompt "Where do you want to install IconManager?")
  15.     (default @default-dest)
  16.     (newpath)
  17.   )
  18. )
  19.  
  20. (set @default-dest destdir)
  21.  
  22. (copyfiles
  23.   (help @copyfiles-help)
  24.   (prompt "Copying IconManager...")
  25.   (source "IconManager")
  26.   (infos)
  27.   (dest @default-dest)
  28. )
  29.  
  30. (set @doc-dest "SYS:Docs")
  31.  
  32. (set destdir
  33.   (askdir 
  34.     (help @askdir-help)
  35.     (prompt "Where do you want to put the IconManager doc files?")
  36.     (default @doc-dest)
  37.     (newpath)
  38.   )
  39. )
  40.  
  41. (set @doc-dest destdir)
  42.  
  43. (copyfiles
  44.   (help @copyfiles-help)
  45.   (prompt "Copying IconManager doc files...")
  46.   (source "")
  47.   (dest @doc-dest)
  48.   (choices "IconManager.doc" "IconManager.guide")
  49.   (infos)
  50. )
  51.  
  52. (set @icon-dest "SYS:Icons")
  53.  
  54. (set destdir
  55.   (askdir
  56.     (help @askdir-help)
  57.     (prompt "Where do you want to install the icons?")
  58.     (default @icon-dest)
  59.     (newpath)
  60.   )
  61. )
  62.  
  63. (set @icon-dest destdir)
  64.  
  65. (copyfiles
  66.   (help @copyfiles-help)
  67.   (prompt "Copying icons...")
  68.   (source "Icons/")
  69.   (pattern "#?.info")
  70.   (dest @icon-dest)
  71. )
  72.  
  73. (copylib
  74.   (help @copylib-help)
  75.   (prompt "Installing whatis.library to LIBS:")
  76.   (source "Libs/whatis.library")
  77.   (dest "libs:")
  78.   (confirm)
  79. )
  80.  
  81. (copyfiles
  82.   (help @copyfiles-help)
  83.   (source "s/FileTypes")
  84.   (dest "s:")
  85.   (prompt "Copying FileTypes to S:...")
  86.   (confirm)
  87. )
  88.  
  89. (startup "IconManager"
  90.   (help @startup-help)
  91.   (prompt "Adding lines to S:User-Startup...")
  92.   (command "Assign Icons: " @icon-dest "\n")
  93.   (command "Makedir RAM:Icons\n")
  94.   (command "Copy Icons:#? RAM:Icons QUIET\n")
  95. )  
  96.   
  97. (makeassign "Icons" @icon-dest)
  98.